﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace BitAuto.EP.CRMLogSystem.Utils
{
    public class AppConfig
    {
        #region GetSettings
        public static string GetAppSetting(string key)
        {
            return ConfigurationManager.AppSettings[key];
        }

        public static string GetConnectionString(string key)
        {
            return ConfigurationManager.ConnectionStrings[key].ConnectionString;
        }
        #endregion

        public static string BusinessOpportunityLog
        {
            get { return GetConnectionString("BusinessOpportunityLog"); }
        }
    }
}
